<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   
    <title>增加部门</title>
    <meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
<style type="text/css">
		.errorMessage{
			color:red;
			font-size: 13px;
		}
		#x{ color:red; }
	</style>
  </head>
 <body style="text-align: center;margin: 0 auto; margin-top: 30px;">
  <h3>增加部门</h3>
    <s:form action="addDepart" namespace="/page/permanage" validate="true">
      <s:fielderror></s:fielderror>
           <table>
           		<tr>
                  <td>部门名称:</td>
                  <td><s:textfield name="depart.name" ></s:textfield><samp id="x">*</samp></td>
                </tr>
                <tr>
                  <td>所属机构: </td>
                  <td><s:textfield name="depart.branch" ></s:textfield><samp id="x">*</samp><br /></td>
                </tr>
                <tr>
                  <td>部门联系人: </td>
                  <td><s:textfield name="depart.principalUser" ></s:textfield><samp id="x">*</samp><br /></td>
                </tr>
                <tr>
                  <td >联系号码:</td>
                  <td><s:textfield name="depart.telphone" ></s:textfield></td>
                </tr>
                <tr>
                  <td>移动号码：</td>
                  <td><s:textfield name="depart.moblephone" ></s:textfield></td>
                </tr>
                <tr>
                  <td>传真：</td>
                  <td><s:textfield name="depart.faxes" ></s:textfield></td>
                </tr>
                <tr>
                  <td>备注：</td>
                  <td><s:textarea name="depart.remark" rows="8" cols="50"></s:textarea></td>
                </tr>
                <tr>
                  <td><input type="submit" value="添加" /></td>
                  <td><input type="reset" value="重置" /></td>
                </tr>
           </table>
    </s:form>
  </body>
</html>
